package com.antler.smt.portal.mapper;

import com.antler.smt.entity.AreaEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AreaInfoMapper {
    /**
     * 根据主键查询一条记录
     *
     * @param parentId 父节点Id
     * @return
     */
    List<AreaEntity> selectByParentId(Long parentId);

}